package com.microservice.skeleton.upms.constraints;

import org.springframework.core.MethodParameter;

import java.util.Collections;
import java.util.List;

/**
 * @author: lijin
 * @date: 2018年11月07日
 */
public class NoOpMethodParameterConstraintResolver implements MethodParameterConstraintResolver {
    @Override
    public List<Constraint> resolveForParameter(MethodParameter param) {
        return Collections.emptyList();
    }

    @Override
    public List<Constraint> resolveForProperty(String property, Class<?> clazz) {
        return Collections.emptyList();
    }
}
